package com.zhourh.bang.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhourh
 * @since 2018-09-02
 */
@TableName("s_result")
public class SResult extends Model<SResult> {

    private static final long serialVersionUID = 1L;

	private Integer id;
    /**
     * 离散规则
     */
	private String rule;
    /**
     * 分数最小值
     */
	private Integer minValue;
    /**
     * 分数最大值
     */
	private Integer maxValue;
    /**
     * 规则左键
     */
	private String prev;
    /**
     * 规则右键
     */
	private String next;
	private String propValue;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	public Integer getMinValue() {
		return minValue;
	}

	public void setMinValue(Integer minValue) {
		this.minValue = minValue;
	}

	public Integer getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(Integer maxValue) {
		this.maxValue = maxValue;
	}

	public String getPrev() {
		return prev;
	}

	public void setPrev(String prev) {
		this.prev = prev;
	}

	public String getNext() {
		return next;
	}

	public void setNext(String next) {
		this.next = next;
	}

	public String getPropValue() {
		return propValue;
	}

	public void setPropValue(String propValue) {
		this.propValue = propValue;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "SResult{" +
			"id=" + id +
			", rule=" + rule +
			", minValue=" + minValue +
			", maxValue=" + maxValue +
			", prev=" + prev +
			", next=" + next +
			", propValue=" + propValue +
			"}";
	}
}
